public class PhoneTest {
    public static void main(String[] args) {
        Phone p = new Phone();
        p.brand = "华为";
        p.price = 8999;
        System.out.println(p.brand);
        System.out.println(p.price);
        p.call();
        p.playgame();

        Phone p2 =new Phone();
        p2.brand = "苹果";
        p2.price = 8923;
        p2.call();
        p2.playgame();
    }
}
